package com.fowo.api.inventory.service;

import com.fowo.api.inventory.model.*;
import com.fowo.api.inventory.model.form.InventoryExchangeFormVo;
import com.fowo.api.inventory.model.form.InventoryOutboundFormVo;
import com.fowo.api.inventory.model.form.InventoryStorageFormVo;

/**
 * 出入库服务
 * @author yl_ls
 */
public interface InventoryBusinessService2 {
    /**
     * 按表单入库
     * @param model
     * @return
     * @throws Exception
     */
    InventoryListReturnVo storage(InventoryStorageFormVo model) throws Exception;

    /**
     * 按表单出库
     * @param model
     * @return
     * @throws Exception
     */

    InventoryListReturnVo outbound(InventoryOutboundFormVo model)  throws Exception;

    /**
     * 整单库存内流转
     * @param model 整单库存内流转参数模型
     * @return
     * @throws Exception
     */
    InventoryListReturnVo exchange(InventoryExchangeFormVo model) throws Exception;
}
